﻿using System;
using System.ComponentModel.DataAnnotations;
namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name:     Wage
    /// Author:         Wangzx
    /// Creation Date:  2012-3-23
    /// Description:   工资（编号、员工编号、奖金、补贴、加班费、总工资、备注） 
    /// QA:             
    /// -----------------------------------------
    /// </summary>
    public class Wage
    {
        [Key]
        public int ID { get; set; }
        //员工编号

        public int EmployeeId { get; set; }
        //基本工资
        public decimal BasicWage { get; set; }
        //基数
        public decimal BasicValue { get; set; }
        //养老保险
        public decimal EndowmentAssurance { get; set; }
        //医疗保险
        public decimal MedicalInsurance { get; set; }
        //失业保险
        public decimal UnemploymentInsurance { get; set; }
        //工伤保险
        public decimal EmploymentInjuryInsurance { get; set; }
        //生育保险
        public decimal MaternityInsurance { get; set; }
        //公积金
        public decimal ProvidentFund { get; set; }
        //扣除
        public decimal TakeOff { get; set; }
        //补贴
        public decimal Subsidy { get; set; }
        //工资发放日期
        public DateTime WageDay { get; set; }
        //备注
        public string Remark { get; set; }

        public virtual Employee Employee { get; set; }
    }
}
